Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare to update spec test suite #1909

Merged

Conversation

alexcrichton
Copy link
Member

Some minor updates in preparation for WebAssembly/testsuite#110:

  • Don't limit the size of tables in the validator and instead defer such maximal validation to runtimes themselves.
  • Parse the (pagesize N) syntax on "inline memories"
  • Always parse table/memory limits as 64-bit integers
  • Stop matching spec test suite error messages

This last point is something I've tried to hold off on doing for a long time but as the giant error_matches function continues to grow and become more unwieldy it has become less and less tenable to do this. Overall it doesn't seem too beneficial to keep maintaining this especially in the face of numerous proposals, so instead basically remove it entirely.

Some minor updates in preparation for WebAssembly/testsuite#110:

* Don't limit the size of tables in the validator and instead defer such
  maximal validation to runtimes themselves.
* Parse the `(pagesize N)` syntax on "inline memories"
* Always parse table/memory limits as 64-bit integers
* Stop matching spec test suite error messages

This last point is something I've tried to hold off on doing for a long
time but as the giant `error_matches` function continues to grow and
become more unwieldy it has become less and less tenable to do this.
Overall it doesn't seem too beneficial to keep maintaining this
especially in the face of numerous proposals, so instead basically
remove it entirely.
Copy link
Contributor

@pchickey pchickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change the name of table-too-big test to just table-big? because its no longer too big...

@alexcrichton alexcrichton added this pull request to the merge queue Nov 18, 2024
Merged via the queue into bytecodealliance:main with commit 09175fa Nov 18, 2024
30 checks passed
@alexcrichton alexcrichton deleted the prepare-spec-test-suite-update branch November 18, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants